package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录-准备耗材
 * </p>
 *
 * @author zyl
 * @since 2019-03-22
 */
public class ProvisionConsumable implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机器运行日志
     */
    @TableId("mlogId")
    private String mlogId;
    /**
     * 开始安装耗材时间
     */
    private Date startInstallConsumable;
    /**
     * 结束安装耗材时间
     */
    private Date endInstallConsumable;
    /**
     * 自动装管时间
     */
    private Date startAutoTubulature;
    /**
     * 自动装管结束时间
     */
    private Date endAutoTubulature;
    /**
     * 皮重
     */
    private Integer plasmaBagTare;
    /**
     * 离心机盖开关关闭时间
     */
    private Date closeLxjSwitch;
    /**
     * DPM安装时间
     */
    private Date installDpm;
    /**
     * 袋安装时间
     */
    private Date installPlasmaBag;
    /**
     * 读取时间
     */
    private Date timePlasmaBagTare;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartInstallConsumable() {
        return startInstallConsumable;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartInstallConsumable(Date startInstallConsumable) {
        this.startInstallConsumable = startInstallConsumable;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getEndInstallConsumable() {
        return endInstallConsumable;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setEndInstallConsumable(Date endInstallConsumable) {
        this.endInstallConsumable = endInstallConsumable;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartAutoTubulature() {
        return startAutoTubulature;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartAutoTubulature(Date startAutoTubulature) {
        this.startAutoTubulature = startAutoTubulature;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getEndAutoTubulature() {
        return endAutoTubulature;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setEndAutoTubulature(Date endAutoTubulature) {
        this.endAutoTubulature = endAutoTubulature;
    }

    public Integer getPlasmaBagTare() {
        return plasmaBagTare;
    }

    public void setPlasmaBagTare(Integer plasmaBagTare) {
        this.plasmaBagTare = plasmaBagTare;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCloseLxjSwitch() {
        return closeLxjSwitch;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCloseLxjSwitch(Date closeLxjSwitch) {
        this.closeLxjSwitch = closeLxjSwitch;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getInstallDpm() {
        return installDpm;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setInstallDpm(Date installDpm) {
        this.installDpm = installDpm;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getInstallPlasmaBag() {
        return installPlasmaBag;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setInstallPlasmaBag(Date installPlasmaBag) {
        this.installPlasmaBag = installPlasmaBag;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimePlasmaBagTare() {
        return timePlasmaBagTare;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimePlasmaBagTare(Date timePlasmaBagTare) {
        this.timePlasmaBagTare = timePlasmaBagTare;
    }

    @Override
    public String toString() {
        return "ProvisionConsumable{" +
        "mlogId=" + mlogId +
        ", startInstallConsumable=" + startInstallConsumable +
        ", endInstallConsumable=" + endInstallConsumable +
        ", startAutoTubulature=" + startAutoTubulature +
        ", endAutoTubulature=" + endAutoTubulature +
        ", plasmaBagTare=" + plasmaBagTare +
        ", closeLxjSwitch=" + closeLxjSwitch +
        ", installDpm=" + installDpm +
        ", installPlasmaBag=" + installPlasmaBag +
        ", timePlasmaBagTare=" + timePlasmaBagTare +
        "}";
    }
}
